import Vue from 'vue'
import App from './App'
import router from './router'

//生产环境不要语法提示(不重要可忽略)
Vue.config.productionTip = false

const vm = new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

//通过vm实例访问router
console.log(vm.$router)
